package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/19  15:02
 */
@ApiModel("保存用户安全策略参数")
public class UserPolicyEvt implements Serializable {

    private static final long serialVersionUID = -9137737772159663108L;
    @ApiModelProperty("配置表id")
    private Long confId;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("最大在线会话数")
    private String maxOnlineSessionNum;
    @ApiModelProperty("账号有效策略")
    private String accountEffective;
    @ApiModelProperty("密码有效策略")
    private String pwdEffective;
    @ApiModelProperty("是否需要修改密码")
    private String isMustUpdPwd;
    @ApiModelProperty("账号锁定策略")
    private String accountLockout;
    @ApiModelProperty("账号停用策略")
    private String accountDisabled;
    @ApiModelProperty("密码有效期提示天数")
    private String pwdPromptDays;
    @ApiModelProperty("系统风格类型")
    private int systemStyleType;

    public Long getConfId() {
        return confId;
    }

    public void setConfId(Long confId) {
        this.confId = confId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getMaxOnlineSessionNum() {
        return maxOnlineSessionNum;
    }

    public void setMaxOnlineSessionNum(String maxOnlineSessionNum) {
        this.maxOnlineSessionNum = maxOnlineSessionNum;
    }

    public String getAccountEffective() {
        return accountEffective;
    }

    public void setAccountEffective(String accountEffective) {
        this.accountEffective = accountEffective;
    }

    public String getPwdEffective() {
        return pwdEffective;
    }

    public void setPwdEffective(String pwdEffective) {
        this.pwdEffective = pwdEffective;
    }

    public String getIsMustUpdPwd() {
        return isMustUpdPwd;
    }

    public void setIsMustUpdPwd(String isMustUpdPwd) {
        this.isMustUpdPwd = isMustUpdPwd;
    }

    public String getAccountLockout() {
        return accountLockout;
    }

    public void setAccountLockout(String accountLockout) {
        this.accountLockout = accountLockout;
    }

    public String getAccountDisabled() {
        return accountDisabled;
    }

    public void setAccountDisabled(String accountDisabled) {
        this.accountDisabled = accountDisabled;
    }

    public String getPwdPromptDays() {
        return pwdPromptDays;
    }

    public void setPwdPromptDays(String pwdPromptDays) {
        this.pwdPromptDays = pwdPromptDays;
    }

    public int getSystemStyleType() {
        return systemStyleType;
    }

    public void setSystemStyleType(int systemStyleType) {
        this.systemStyleType = systemStyleType;
    }

    @Override
    public String toString() {
        return "UserPolicyEvt{" +
                "confId=" + confId +
                ", userId=" + userId +
                ", maxOnlineSessionNum='" + maxOnlineSessionNum + '\'' +
                ", accountEffective='" + accountEffective + '\'' +
                ", pwdEffective='" + pwdEffective + '\'' +
                ", isMustUpdPwd='" + isMustUpdPwd + '\'' +
                ", accountLockout='" + accountLockout + '\'' +
                ", accountDisabled='" + accountDisabled + '\'' +
                ", pwdPromptDays='" + pwdPromptDays + '\'' +
                ", systemStyleType=" + systemStyleType +
                '}';
    }
}
